const http = 'https://xtfhrq.cn';
const httpImgs = 'https://xtfhrq.cn/';
const httpApi = 'https://xtfhrq.cn/api/';

let debug = false;
if (process.env.NODE_ENV === 'development') {
	debug = true;
} else {
	console.log('生产环境');
}
export default {
	debug,
	httpImgs,
	action: http+ '/api/fei_hong/uploadHead',
    navbarHeight: 44, //导航高度
    http,
	httpApi,
	avaDefault:http+'/static/common/image/default/user.png',
    upload: http + '/api/fei_hong/uploadHead',
    MAX_UPIMG: 9,
    RESOK: 1,
    RESOK_CODE: 1,
    ISOK: 1,
    HAS_ATTR: 1, //有规格
    HAS_COLLECT: 1, // 已收藏
    timeLoad: 2000, //等待时间
    NOT_ADDRES: -99, //没有收货地址
    CART_CHECKED_ADDRESS: 1,
	arg1:'http://medicalh5.zhilongapp.com/h5/#/?id=1',
	arg2:'http://medicalh5.zhilongapp.com/h5/#/?id=2',
    verCode(){
        return {
            text: '获取验证码',
            code: '',
            isDownIng: false,
            i: 60,
            t: null,
        }
    },
    defaultAvathor: '/static/avathor.png',
    errImg: '/static/err404.png',
    POSTER: 1,
    //分页
    P: 1,
    SIZE: 10,
    WX_CANCUSTOM: 660,
    WX_CUSTOM: 700, //自定义导航
    DELETE: 'del',
    //验证码类型(1 注册验证码;2 找回密码;3:验证码登录;4:修改手机号)
    SEND_TYPE: {
        reg: 1,
        forget: 2,
        login: 3,
        change: 4,
    },
    TABBAR:['pages/navbar/index', 'pages/navbar/user'],
	btnStyle:{
		backgroundColor: '#0093dd',
		fontSize:'16px',
		height: '100rpx'
	},
	orderStatus:{
		1:'待付款',
		2:'待配送',
		3:'配送中',
		4:'待签收',
		5:'待发货',
		6:'待收货',
		7:'已完成',
		8:'申请售后',
		9:'已退款',
		10:'用户取消',
		11:'系统取消',
	},
}


